<template>
	<view class="xmain">
	<headBar title="网页应用"></headBar>
    <view>aaaa</view>
    <web-view src="https://www.baidu.com/index.html"  ></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
        webviewStyles: {
          progress: {
            color: '#FF3333'
          }
        }
			}
		},
    onLoad(e) {
      qa.setTrustedUrls([
        /^https?:\/\/baidu.com/,
      ])
    },
		methods: {

		}
	}
</script>

<style>

</style>
